package com.ming.constant;

import java.util.Arrays;
import java.util.List;

/**
 * @Author:何元才
 * @Desc:
 * @data:2021-03-30 15:04
 */
public interface GatewayConstant {

    /**
     * 放行的url地址
     */
    List<String> ALLOW_URL = Arrays.asList("/oauth/token", "/pay");

    /**
     * header的token的key
     */
    String AUTHORIZATION = "Authorization";

    /**
     * token存入redis 的前缀
     */
    String TOKEN_JWT_PREFIX = "oauth:jwt:";
}
